﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Configuration;


namespace Filemanager
{
    public partial class Site : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            int view = Convert.ToInt32(Session["View"].ToString());
            Process pro = new Process();
            string root = Server.MapPath(ConfigurationManager.AppSettings["PathParent"]);
            Process.Length = root.Length;
            lbTreeFolder.Text = pro.TreeFolder(root, view);
        }
    }
}